package com.siysoft.tc.base.bean.to;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="v_user_room_chat")
public class VUserRoomChat {
	private int room_chat_id;
	private int room_chat_reservation_id;
	private int room_chat_user_id;
	private String room_chat_content;
	private Timestamp room_chat_time;
	private String room_chat_user_name;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="room_chat_id")
	public int getRoom_chat_id() {
		return room_chat_id;
	}
	public void setRoom_chat_id(int room_chat_id) {
		this.room_chat_id = room_chat_id;
	}
	
	@Column(name="room_chat_reservation_id")
	public int getRoom_chat_reservation_id() {
		return room_chat_reservation_id;
	}
	public void setRoom_chat_reservation_id(int room_chat_reservation_id) {
		this.room_chat_reservation_id = room_chat_reservation_id;
	}
	
	@Column(name="room_chat_user_id")
	public int getRoom_chat_user_id() {
		return room_chat_user_id;
	}
	public void setRoom_chat_user_id(int room_chat_user_id) {
		this.room_chat_user_id = room_chat_user_id;
	}
	
	@Column(name="room_chat_content")
	public String getRoom_chat_content() {
		return room_chat_content;
	}
	public void setRoom_chat_content(String room_chat_content) {
		this.room_chat_content = room_chat_content;
	}
	
	@Column(name="room_chat_time")
	public Timestamp getRoom_chat_time() {
		return room_chat_time;
	}
	public void setRoom_chat_time(Timestamp room_chat_time) {
		this.room_chat_time = room_chat_time;
	}
	
	@Column(name="username")
	public String getRoom_chat_user_name() {
		return room_chat_user_name;
	}
	public void setRoom_chat_user_name(String room_chat_user_name) {
		this.room_chat_user_name = room_chat_user_name;
	}
}
